package com.xlh.virtualization.constant;

/**
 * 虚拟化配置常量类
 *
 * @author cheer
 */
public class ConfigConstant {

    /**
     * 默认容器销毁开关
     */
    public static final boolean DEFAULT_CONTAINER_DELETED_SWITCH = true;

    /**
     * 默认允许教师每门课程创建的镜像数量
     */
    public static final int DEFAULT_IMAGE_QUOTA = 7;

    /**
     * 更新虚拟化配置 lock key
     */
    public static final String SAVE_CONFIG_KEY = "virtualization_save_config";

    /**
     * 更新课程容器销毁配置 lock key
     */
    public static final String SAVE_COURSE_CONFIG_KEY = "virtualization_save_config:c:#{courseId}";
}
